// practice of continue. Continue only can be used in for, while and do-while, 3 in total.

#include <stdio.h>

int main()
{
    int a, i;
    i = 0;
    a = -5;
    while (i < 10)
    {
        a++;
        i++;
        if (a <= 0)
            continue;
        printf("i=%d\n", i);
    }
    return 0;
}

/* int main()
{
    int a, i;
    i = 0;
    a = -5;
    for (i = 0; i < 10; i++)
    {
        a++;
        if (a <= 0)
            continue;
        printf("i=%d\n", i);
    }
    return 0;
} */

// This is only to explain P49 in book of K&R.
/* int main()
{
    int a, i;
    i = 0;
    a = -5;
    while (i < 10)
    {
        a++;
        if (a <= 0)
            continue;
        printf("i=%d\n", i);
        i++;
    }
    return 0;
} */